<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script >
var code = '<sc'+'ript>';
code += 'alert("this is a demo, I can put any code here");'
code += '</script>';
document.write(code);
alert('this code is part of the script');
</script>
<title>test</title>
</head>
<b>normal text</b>
</html>